package com.example.neptune.startproject_109zj.service;

import com.example.neptune.startproject_109zj.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by Neptune on 2017/3/15.
 */

//Retrofit访问网络的接口
public interface WeatherService {
    @GET("data/sk/(cityNumber).html")
    Call<WeatherResult> getResult(@Path("cityNumber")String cityNumber);
}
